package com.next

class Follow
{
    User source
    Account account
    Contact contact
    Opportunity opportunity
    Activity activity
    Issue issue
    Asset asset
    Campaign campaign

    User user

    Date createdDate = new Date()

    static constraints = {
        source nullable: true, blank: true
        account nullable: true, blank: true
        contact nullable: true, blank: true
        opportunity nullable: true, blank: true
        activity nullable: true, blank: true
        issue nullable: true, blank: true
        asset nullable: true, blank: true
        campaign nullable: true, blank: true
    }
}
